<?php 
	//$_SESSION['username']='';
	//unset($_SESSION['username']);
	//echo 'cleared username';
	//session_unset();
	//echo 'session unset';
	//session_destroy();
	//echo 'session destroyed.';
	
	// Initialize the session.
	// If you are using session_name("something"), don't forget it now!
	session_start();

	// Unset all of the session variables.
	$_SESSION = array();

	// If it's desired to kill the session, also delete the session cookie.
	// Note: This will destroy the session, and not just the session data!
	if (ini_get("session.use_cookies")) {
		$params = session_get_cookie_params();
		setcookie(session_name(), '', time() - 42000,
			$params["path"], $params["domain"],
			$params["secure"]	
		);
	}
	session_destroy();
	

?>
<html>
<head>
<script language="javascript" src="javascript/cookies.js">/* Cookie Management */</script>
<script language="javascript">
<!--
eraseCookie('username');
eraseCookie('password');
eraseCookie('token');
//alert(readCookie('username'));
//alert("This isn't working quite yet");
-->
</script>
</head>
<body>
<p>Session ended.</p>
<p>Warning! Although you are logged out, browser history, cache and other risks are still present.  Please clear cache & history and close browser for additional security.</p>
<a href="http://privr.city-score.com">Login</a>
</body>
</html>